package com.jic.market.request.rest.discountamount;

import com.jic.common.base.vo.AdminOperate;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author yinhaijun
 * @date: 2020/4/14
 */
@Data
public class DiscountAmountOrderPayRequest implements Serializable {
    private AdminOperate adminOperate;

    @ApiModelProperty(notes = "测试用的活动类型", required = false)
    private Integer frontPromotionType;
    @NotBlank(message = "订单号不能为空")
    @ApiModelProperty(notes = "订单号", required = true)
    private String orderNo;

    @NotNull(message = "支付金额不能为空")
    @ApiModelProperty(notes = "支付金额", required = true)
    private BigDecimal payAmount;

    @NotNull(message = "支付时间不能为空")
    @ApiModelProperty(notes = "支付时间", required = true)
    private Date orderPayTime;

}
